<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>更复杂的背景</title>
  <style>
    body {
      background: #58a;
      /*  多重背景  网格背景*/
      background-image: 
      linear-gradient(white 2px, transparent 0),
      linear-gradient(90deg, white 2px, transparent 0),
      linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 0),
      linear-gradient(90deg,rgba(255, 255, 255, 0.2) 1px, transparent 0); 
      background-size: 75px 75px, 75px 75px, 15px 15px, 15px 15px;

      /* 田子格 */
      /* background: linear-gradient(red 2px, transparent 0), 
                linear-gradient(90deg, red 2px, transparent 0),
                linear-gradient(rgba(255, 0, 0, 0.3) 1px, transparent 0),
                linear-gradient(90deg, rgba(255, 0, 0, 0.3) 1px, transparent 0);
      background-size: 50px 50px, 50px 50px, 25px 25px, 25px 25px; */
    }
  </style>
</head>

<body>

</body>

</html>